﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/InternalPage.master"
  Inherits="ModelViewPage<QuizPickerViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
  Pick a Quiz
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
  <form id="pickQuizForm" action="<%= Url.Action("Pick", "Quiz") %>" method="post">
  <div class="clearDiv entry-row">
    <%= this.Label(m => m.TakerName).Value("Your name:") %>
    <%= this.TextBox(m => m.TakerName).Class("text").ValidateForRequired()%>
  </div>
  <div class="clearDiv entry-row">
    <%= this.Label(m => m.EMail).Value("Your email:") %>
    <%= this.TextBox(m => m.EMail).Class("text").ValidateForRequired()%>
  </div>
  <div class="clearDiv entry-row">
    <%= this.Label(m => m.QuizPassphrase).Value("Quiz Passphrase:") %>
    <%= this.Password(m => m.QuizPassphrase).Class("text").ValidateForRequired()%>
  </div>
  <div class="clearDiv center">
    <a href="#" onclick="$('#pickQuizForm').trigger('submit');" class="btn">Take the Quiz</a>
  </div>
  <div class="clearDiv center">
    <a href="<%= Url.Action("Index", "Home") %>" class="btn">Cancel</a>
  </div>
  </form>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PageHeader" runat="server">
  Pick a Quiz
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="Scripts" runat="server">
</asp:Content>
